package com.futao.spring.lifecycle;

import com.futao.spring.lifecycle.cycle.scope.ThreadScope;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Scope;

/**
 * Spring生命周期
 *
 * @author ft
 * @date 2021/01/28
 */
@Scope(ThreadScope.SCOPE)
@SpringBootApplication
public class LifeCycleApplication {

    public static void main(String[] args) {
        SpringApplication.run(LifeCycleApplication.class, args);
    }

}
